翻訳と辞書
Words near each other
・ Dyce railway station
・ Dyce stones
・ Dyce, Manitoba railway station
・ Dycer
・ Dycer baronets
・ Dychawica, Lublin Voivodeship
・ Dyche
・ Dycheiidae
・ Dychko
・ Dychlino
・ Dychtwald
・ Dychów
・ Dyck
・ Dyck Arboretum of the Plains
・ Dyck graph
Dyck language
・ Dyckerhoff & Widmann
・ Dyckesville, Wisconsin
・ Dyckhoff
・ Dyckia
・ Dyckia 'June'
・ Dyckia 'Lad Cutak'
・ Dyckia 'Naked Lady'
・ Dyckia 'Vista'
・ Dyckia agudensis
・ Dyckia argentea
・ Dyckia bracteata
・ Dyckia brevifolia
・ Dyckia cabrerae
・ Dyckia choristaminea


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Dyck language : ウィキペディア英語版
Dyck language

In the theory of formal languages of computer science, mathematics, and linguistics, the Dyck language is the language consisting of balanced strings of square brackets (and ). It is important in the parsing of expressions that must have a correctly nested sequence of brackets, such as arithmetic or algebraic expressions. It is named after the mathematician Walther von Dyck.
==Formal definition==
Let \Sigma = \ be the alphabet consisting of the symbols (and ) and let \Sigma^ denote its Kleene closure. For any element u \in \Sigma^ with length | u | we define partial functions insert : \Sigma^ \times \mathbb \cup \ \rightarrow \Sigma^ and delete : \Sigma^ \times \mathbb \rightarrow \Sigma^ by
:insert(u, j) is u with "[]" inserted into the jth position
:delete(u, j) is u with "[]" deleted from the jth position
with the understanding that insert(u, j) is undefined for j > |u| and delete(u, j) is undefined if j > |u| - 2. We define an equivalence relation R on \Sigma^ as follows: for elements a, b \in \Sigma^ we have (a, b) \in R if and only if there exists a finite sequence of applications of the insert and delete functions starting with a and ending with b, where the empty sequence is allowed. That the empty sequence is allowed accounts for the reflexivity of R. Symmetry follows from the observation that any finite sequence of applications of insert to a string can be undone with a finite sequence of applications of delete. Transitivity is clear from the definition.
The equivalence relation partitions the language \Sigma^ into equivalence classes. If we take \epsilon to denote the empty string, then the language corresponding to the equivalence class \operatorname(\epsilon) is called the Dyck language.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Dyck language」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.